package com.example.stlink.model.request;

import androidx.annotation.NonNull;

public class UserModifyRequest {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 头像(网络资源图片链接)
     */
    private String avatar;

    /**
     * 院校名
     */
    private String collegeName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 性别true:男，默认true
     */
    private Boolean gender;

    /**
     * 学/工号
     */
    private Long idNumber;

    /**
     * 入学时间(时间戳)
     */
    private Long inSchoolTime;

    /**
     *
     * 手机号
     */
    private String phone;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 用户名
     */
    private String userName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public Long getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(Long idNumber) {
        this.idNumber = idNumber;
    }

    public Long getInSchoolTime() {
        return inSchoolTime;
    }

    public void setInSchoolTime(Long inSchoolTime) {
        this.inSchoolTime = inSchoolTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @NonNull
    @Override
    public String toString() {
        return "UserModifyRequest{" +
                "id=" + id +
                ", avatar='" + avatar + '\'' +
                ", collegeName='" + collegeName + '\'' +
                ", email='" + email + '\'' +
                ", gender=" + gender +
                ", idNumber=" + idNumber +
                ", inSchoolTime=" + inSchoolTime +
                ", phone='" + phone + '\'' +
                ", realName='" + realName + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
